package com.ganbo.redpacket.service;

import com.ganbo.redpacket.model.requset.HandOutReq;
import com.ganbo.redpacket.model.requset.RobReq;

import java.math.BigDecimal;

/**
 * 抢发红包
 * Created by gan on 2020/1/12 14:58.
 */
public interface RedPacketService {

    /**
     * 发红包
     *
     * @param req
     * @return
     */
    String handOut(HandOutReq req);

    /**
     * 抢红包
     *
     * @param req
     * @return
     */
    BigDecimal rob(RobReq req);

}
